{extend name="common/base_layout" /}

{block name="sign-box"}
<li class="sign-li">
    <a href="/"  title="首页">
        <b>首页</b>
    </a>
</li>
<li class="sign-li ">
    <a href="{:url('/news')}"  title="全部">
        <b>全部</b>
    </a>
</li>

{foreach $nCList as $vo}
<li class="sign-li {if $cur_ac_id eq $vo.class_id}active{/if}">
    <a href="{:url('frontend/News/lists', ['ac_id' => $vo['class_id']])}"  title="{$vo.class_name}"><b>{$vo.class_name}</b></a>
</li>
{/foreach}
{/block}

{block name="content"}
<div class="side-content ">

    <div class="banner-sub auto not-has" data-height="420|350|200">

    </div>

    <div class="side-html">

        <div class="side-body swiper-lazy" data-background="__STATIC__/upload/201707/1500274209.jpg">

            <section class="met-shownews animsition">
                <div class="container">
                    <div class="row">
                        <div class="col-md-8 met-shownews-body">
                            <div class="row">
                                <div class="met-shownews-header">
                                    <h1>{$articleInfo.article_title}</h1>
                                    <div class="info">
                                        <span>
                                            <i class="fa fa-clock-o"></i>
                                            {$articleInfo.article_publish_time|format_time}
                                        </span>
                                        <span>
                                            <i class="fa fa-user-plus"></i>
                                            {$articleInfo.article_author|default='立鼎科技'}
                                        </span>
                                        <span>
                                            <i class="icon wb-eye margin-right-5" aria-hidden="true"></i>{$articleInfo.article_click}
                                        </span>
                                    </div>
                                </div>
                                <div class="met-editor lazyload clearfix">
                                    <div>
                                        {$articleInfo.article_content}
                                    </div>

                                </div>
                                <div class="met-shownews-footer">

                                    <ul class="pager pager-round">
                                        <li class="previous ">
                                            {notempty name="previous"}
                                            <a href="{:url('frontend/News/show', ['article_id' => $previous['article_id']])}" title="{$previous.article_title}">
                                                上一篇
                                                <span aria-hidden="true" class='hidden-xs'>：{$previous.article_title}</span>
                                            </a>
                                            {else /}
                                            <a href="javascript:;" title="没有了">
                                                上一篇
                                                <span aria-hidden="true" class='hidden-xs'>：没有了</span>
                                            </a>
                                            {/notempty}
                                        </li>
                                        <li class="next ">
                                            {notempty name="next"}
                                            <a href="{:url('frontend/News/show', ['article_id' => $next['article_id']])}" title="{$next.article_title}">
                                                下一篇
                                                <span aria-hidden="true" class='hidden-xs'>：{$next.article_title}</span>
                                            </a>
                                            {else /}
                                            <a href="javascript:;" title="没有了">
                                                下一篇
                                                <span aria-hidden="true" class='hidden-xs'>：没有了</span>
                                            </a>
                                            {/notempty}
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>

                        <div class="col-md-4">
                            <div class="row">
                                <div class="met-news-bar">

                                    <div class="sidenews-lists">
                                        <h3><span>为您推荐</span></h3>
                                        <ul >

                                            {foreach $recArticleList as $vo}
                                            <li>
                                                <a href="{:url('frontend/News/show', ['article_id' => $vo['article_id']])}" title="{$vo.article_title}" target='_self'>

                                                    <img class="swiper-lazy" data-src='{$vo.article_image|quick_pic_thumb="@125w_100h"}'>

                                                    <b>{$vo.article_title}</b>
                                                    <p>{$vo.article_publish_time|format_time='Y-m-d'}</p>
                                                </a>
                                            </li>
                                            {/foreach}

                                        </ul>
                                    </div>

                                </div>
                            </div>
                        </div>

                    </div>
                </div>
            </section>

            <!--引入 footer-->
            {include file="common/footer" /}

            <input type="hidden" name="lazyloadbg" value="base64">

        </div>
    </div>
    <div class="side-scroll swiper-scrollbar"></div>
</div>
{/block}